<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('Aftersale/migrate')}">迁墓管理</a></li>
		</ul>
        <div>
       	<form  class="well form-search" action="{:U('Rock/index')}" method="post">
        <label>客户姓名: 
        	<input type="text" name="rock_name" placeholder="请输入客户姓名" value="{:I('request.goods_name')}" >
        </label>
        <input type="submit" class="btn btn-primary" value="搜索" />
        <a class="btn btn-danger" href="{:U('Goods/index')}">清空</a>
        </form>
        </div>
		<form action="{:U('Rbac/listorders')}" method="post">
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
                        <th width="3%">ID</th>
						<th width="10%">客户姓名</th>
                        <th width="10%">联系电话</th>
                        <th width="10%">具体位置</th>
                        <th width="8%">墓位编号</th>
                        <th width="10%">开始时间</th>
                        <th width="7%">类型</th>
                        <th width="10%">仪式项目</th>
                        <th width="7%">登记人</th>
                        <th width="9%">执行部门/人</th>
                        <th width="7%">接单</th>
						<th width="12%">{:L('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="results" item="vo">
					<tr>
						<td>{$vo.id}</td>
						<td>{$vo.goods_name}</td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td>{$vo['sale']}</td>
						<td>{$vo['sale']}</td>
                        <td>{$vo['sale']}</td>
						<td style=" vertical-align:middle"><a class="js-ajax-delete" data-msg="确定截单吗？" href="{:U('MallArticle/toggle',array('id'=>$vo['id'],'show'=>$vo['if_show']))}">确定</a></td>
						<td>
                        	<!--迁墓完成+复核单完成+照片上传-->
							<a class="js-ajax-delete" data-msg="确定复核单完成了吗？" href="{:U('MallArticle/toggle',array('id'=>$vo['id'],'show'=>$vo['if_show']))}">复核单完成</a>
                            |
                        	<!--迁墓完成+复核单完成+照片上传-->
							<a href="{:U('Goods/edit',array('id'=>$vo['id'],'type'=>$vo['type']))}">照片上传</a>
                        </td>
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>
		</form>

	</div>
	<script type="text/javascript" src="__STATIC__/js/admin.js?v={:time()}"></script>
</body>
</html>